import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false
App.mpType = 'app'


import uView from "uview-ui";
import add_btn from '@/plugins/add_btn/add_btn.vue'
import p_nav from '@/components/un-nav/un-nav.vue'
import chain from '@/components/pan-chain/pan-chain.vue'

import * as filters from './utills/filter.js'
import submitBar from '@/plugins/submitBar/submitBar.vue'
import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue"
import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue"
import goodItme from "@/plugins/good_item/good_item.vue"

Vue.use(uView);
Vue.component('mescroll-body', MescrollBody)
Vue.component('mescroll-uni', MescrollUni)
Vue.component('chain', chain);
Vue.component('p-nav', p_nav);
Vue.component('p-addbtn', add_btn);
Vue.component('submitBar', submitBar)
Vue.component('goodItme',goodItme)
Object.keys(filters).forEach(key => {
	Vue.filter(key, filters[key])
})

const app = new Vue({
	...App,
	
})
app.$mount()
